package com.yuzhi.master.sewage.device.mapper;

import com.yuzhi.common.core.mapper.BaseMapperPlus;
import com.yuzhi.master.sewage.device.domain.DrainDeviceZt;
import com.yuzhi.master.sewage.device.domain.vo.DrainDeviceZtVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 *  设备实时状态数据采集表 drain_device_zt
 */
@Mapper
public interface DrainDeviceZtMapper extends BaseMapperPlus<DrainDeviceZtMapper, DrainDeviceZt, DrainDeviceZtVo> {


    /**
     * 获取设备最新状态
     * @return
     */
    List<DrainDeviceZtVo> countDevicesByStatus();
}
